package com.rightsidetech.system.service;

import com.github.pagehelper.PageInfo;
import com.rightsidetech.commom.base.DelReq;
import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.commom.service.IService;
import com.rightsidetech.system.dtos.request.adverts.AdvertsLoadSaveReq;
import com.rightsidetech.system.dtos.request.adverts.AdvertsLoadUpReq;
import com.rightsidetech.system.dtos.request.adverts.AdvertsPageReq;
import com.rightsidetech.system.dtos.request.adverts.CloseLoadReq;
import com.rightsidetech.system.dtos.response.adverts.AdvertsPageResp;
import com.rightsidetech.system.dtos.response.adverts.AppAdvertsResp;

public interface SysAdvertsLoadService extends IService<AdvertsPageResp,Long> {

    ResponseData saveAdverts(AdvertsLoadSaveReq req,String createrName);

    ResponseData<PageInfo<AdvertsPageResp>> page(AdvertsPageReq req);

    ResponseData update(AdvertsLoadUpReq req);

    ResponseData del(DelReq req);

    ResponseData isCloseLoad(CloseLoadReq req);

    ResponseData<AppAdvertsResp> getAdverts(Byte platform);
 }
